//
//  LSUmengShare.m
//  LSUmengShareDemo
//
//  Created by Shawn Li on 15/10/29.
//  Copyright (c) 2015年 Shawn Li. All rights reserved.
//

#import "LSUmengShare.h"
#import "UMSocial.h"
#import "LSUmeng.h"
#import "UIViewController+umeng.h"


@interface LSUmengShare ()

@end

@implementation LSUmengShare
/**
 *  分享
 *
 *  @param vc    控制器
 *  @param text  文字
 *  @param image 图片
 */
+(void)show:(UIViewController *)vc text:(NSString *)text image:(id)image {
    [UMSocialSnsService presentSnsIconSheetView:vc appKey:[LSUmeng umengGetAppKey] shareText:text shareImage:image shareToSnsNames:@[UMShareToSina,UMShareToWechatFavorite,UMShareToTencent,UMShareToSms,UMShareToRenren,UMShareToEmail,UMShareToDouban,UMShareToWechatTimeline,UMShareToWechatSession,UMShareToQQ,UMShareToQzone] delegate:vc];
}

@end
